package com.iflytek.model;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 权限菜单表
 * @author h_t
 * @since 2023-09-23
 */

@Data
@TableName("t_permission")
@ApiModel(value = "Permission对象")
public class Permission implements Serializable {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField(value = "name")
    @ApiModelProperty(value = "名称")
    private String name;

    @TableField(value = "description")
    @ApiModelProperty(value = "描述")
    private String description;

    @TableField(value = "path")
    @ApiModelProperty(value = "菜单路径")
    private String path;

    @TableField(value = "icon")
    @ApiModelProperty(value = "图标")
    private String icon;

}
